package com.huawei.esdk.ivs.domain.model.bean;

import com.huawei.esdk.platform.common.utils.ApplicationContextUtil;
import com.huawei.esdk.platform.nemgr.itf.IDeviceManager;

public class LoginInfo
{
    private String userName;
    
    private String password;
    
    private IPInfo serverIp;
    
    private int serverPort;
    
    private int loginType;
    
    private String domainName;
    
    private String machineName;
    
    private String clientType;
    
    private String reserve;
    
    private static IDeviceManager deviceManager = (IDeviceManager)ApplicationContextUtil.getBean("deviceManager");
    
    public static IDeviceManager getDeviceManager()
    {
        return deviceManager;
    }
    
    public String getUserName()
    {
        return userName;
    }
    
    public void setUserName(String userName)
    {
        this.userName = userName;
    }
    
    public String getPassword()
    {
        return password;
    }
    
    public void setPassword(String password)
    {
        this.password = password;
    }
    
    public IPInfo getServerIp()
    {
        return serverIp;
    }
    
    public void setServerIp(IPInfo serverIp)
    {
        this.serverIp = serverIp;
    }
    
    public int getServerPort()
    {
        return serverPort;
    }
    
    public void setServerPort(int serverPort)
    {
        this.serverPort = serverPort;
    }
    
    public int getLoginType()
    {
        return loginType;
    }
    
    public void setLoginType(int loginType)
    {
        this.loginType = loginType;
    }
    
    public String getDomainName()
    {
        return domainName;
    }
    
    public void setDomainName(String domainName)
    {
        this.domainName = domainName;
    }
    
    public String getMachineName()
    {
        return machineName;
    }
    
    public void setMachineName(String machineName)
    {
        this.machineName = machineName;
    }
    
    public String getClientType()
    {
        return clientType;
    }
    
    public void setClientType(String clientType)
    {
        this.clientType = clientType;
    }
    
    public String getReserve()
    {
        return reserve;
    }
    
    public void setReserve(String reserve)
    {
        this.reserve = reserve;
    }
}
